define(["controllerModule"], function(module){
	return module.controller("webappController", ["$scope", "webappConfig", "webappService", function($scope, webappConfig, webappService){
		$scope.info = "webappController." + webappService.info;		
		$scope.isShowToolTip = webappConfig.data.isShowToolTip;
	}])
	.controller("formController", ["$scope", "webappService", function($scope, webappService){
		$scope.info = "formController." + webappService.info;
	}])
	.controller("homeController", ["$scope", "webappService", "$state", function($scope, webappService, $state){
		$scope.info = "homeController." + webappService.info;
		
		$scope.state_go = function(name){
			$state.go(name, {type: '$state.go'})
		}
	}]);	
});